package cool.mtc.minghe.data.model.sys.user.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 明河
 */
@Data
public class UserOrgRoleDTO {
    private Long userOrgRoleId;

    private Long orgId;
    private String orgName;

    @JsonIgnore
    private Long roleId;

    private List<Long> roleIdList = new ArrayList<>();

    @Schema(description = "是否系统预设数据")
    private Boolean preset;
}
